package scala.test_feature.test_object

/**
 * @author 黄海峰 2021/4/15 13:41
 * */
object IdFactory {
  private var counter = 0

  def create(): Int = {
    counter += 1
    counter
  }
}
